<?php
ob_start();
define('PHPFOX', true);
define('PHPFOX_NO_SESSION',true);
define('PHPFOX_NO_USER_SESSION',true);
define('PHPFOX_DS', DIRECTORY_SEPARATOR);
define('PHPFOX_DIR', dirname(dirname(dirname(dirname(__FILE__)))) . PHPFOX_DS);
include PHPFOX_DIR .PHPFOX_DS.'include'.PHPFOX_DS.'init.inc.php';
$sToEmail = isset($_GET['email']) ? $_GET['email'] : 'thailvn@gmail.com';
$oMail = Phpfox::getLib('mail');
$oMail->to($sToEmail);
$oMail->subject($sSubject = 'Check mail at ' . PHPFOX_TIME);
$oMail->message($sBody = PHPFOX_TIME);
var_dump($oMail->send());
?>